package com.lucy.flow.params;

import com.lucy.flow.model.FlowModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author kindear
 */
@Data
@ApiModel(value = "流程定义新增DTO")
public class FlowDefineCreateParams {

    @ApiModelProperty("流程定义编码")
    String flowDefineCode;

    @ApiModelProperty("流程名称")
    String flowName;

    @ApiModelProperty("流程描述")
    String description;

    @ApiModelProperty(value = "流程模型",notes = "JSON字符串")
    FlowModel flowModel;

    @ApiModelProperty(value = "流程状态",notes = "1 正常 0 被删除")
    Integer status = 1;
}
